package game.data.implement;

import game.data.interfaces.ItemDataStackDefine;
import game.enums.ItemID;

public class gameItemDataStackDefine implements ItemDataStackDefine {

	@Override
	public int getMaximumStacks(ItemID value) {
		switch (value) {
		case HAMMER:
		case AXE:
		case PICKAXE:
		case SHOVEL:
		case KNIFE: {
			return 1;
		}
		case KEY:
		case STICK:
		case TORCH:
		case COAL:
		case WOOD:
		case ROPE: {
			return 9;
		}
		case NONE:
		default:
		}
		return 0;
	}

}
